package org.goldenport.g3.sample

import org.goldenport.g3._
import org.goldenport.g3.messages._
import org.goldenport.g3.events._
import org.goldenport.g3.events.file._

/**
 * @since   Sep. 27, 2010
 * @version Sep. 28, 2010
 * @author  ASAMI, Tomoharu
 */
class FileCopyArgs1 extends G3Application {
  file('inout)

  start(Get(Arg(0))) invoke("inout") agent {
    case getted: Getted => {
      println("Getted = " + getted)
      Post(Arg(1), getted.content.get)
    }
    case x => println("Getted ?= " + x);x
  } invoke("inout")
}
